#ifndef CHtmlCounter_h
#define CHtmlCounter_h

#include "CCodeCounter.h"

class CHtmlCounter : public CCodeCounter
{
public:
	CHtmlCounter();
	void CountHtmlTally(string, StringVector&, int&, int, string, string, string, IntPairVector* counter_container = 0, bool dup = false, bool casesensitive = true);

protected:
	virtual int CountDirectiveSLOC(filemap*, results*, filemap* fmapBak=NULL);
	virtual int LanguageSpecificProcess(filemap*, results*, filemap* fmapBak=NULL);
	void LSLOC(results* result, string line, string lineBak, string &strLSLOC, string &strLSLOCBak, int &paren_cnt,char &prev_char,int &temp_lines, int &phys_exec_lines, int &phys_data_lines);
};

class CHtmlPhpCounter : public CHtmlCounter
{
public:
	CHtmlPhpCounter();
};

class CHtmlJspCounter : public CHtmlCounter
{
public:
	CHtmlJspCounter();
};

class CHtmlAspCounter : public CHtmlCounter
{
public:
	CHtmlAspCounter();
};

#endif
